<?php require $this->_ci_view_path.'head.php';?>
<div class="wrap clearfix">
    <div class="mn_aside fl">
        <?php require $this->_ci_view_path.'left.php';?>
    </div>
    <div class="mn_main fr pdt20">
        <div class="m_title clearfix">
            <h2>采样中心</h2>
        </div>
		<div class="close_list mgb10">
			<h3 class="title mgb10">布料列表<span class="ft12 n gray9">迷你布料，寻你所需</span></h3>
			<div class="">
				<label class="b">棉 </label>
				<select class="mgr15">
					<option>棉/涤</option>
					<option>棉/棉</option>
					<option>棉/涤</option>
					<option>棉/棉</option>
				</select>
				<label class="b">亚麻 </label>
				<select class="mgr15">
					<option>亚麻/毡</option>
					<option>毛</option>
					<option>人棉</option>
					<option>涤纶</option>
				</select>
				<label class="b">其他 </label>
				<select class="mgr15">
					<option>棉/涤</option>
					<option>棉/棉</option>
					<option>棉/涤</option>
					<option>棉/棉</option>
				</select>
			</div>
		</div>
		<div class="">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="cell_close_list">
			  <tr class="bg">
				<th>编号</th>
				<th>品名</th>
				<th>经纱</th>
				<th>纬纱</th>
				<th>经密</th>
				<th>纬密</th>
				<th>克重</th>
				<th>成分</th>
				<th>组织</th>
				<th>颜色</td>
				<th>整理</th>
				<th>磨毛</th>
				<th>&nbsp;</th>
			  </tr>
			  <tr>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="text" class="ipt_num" /></td>
				<td><input type="button"  class="btn_search" /></td>
			  </tr>
			  <?php
				if (!empty($result)) {
					foreach ($result as $k=>$r) {
				  ?>
					  <tr <?php if ($k % 2 == 1) { echo ' class="orange"';}?>>
						<td><?=$r['num']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><a href="<?php echo site_url('product/detail/'.$r['id']);?>" title="" target="_blank" <?php if ($k % 2 == 1) { echo ' class="view"';} else {echo ' class="view_vip"';}?>></a></td>
					  </tr>
				  <?php 
					  }
				} else {
				  ?>
				  <tr>
					<td  colspan=13 align='center'>暂无数据...</td>
				  </tr>
				 <?php
				}
				 ?>
			</table>
			<div class="mod_page mgt20">
				<?php echo $page_bar;?>
			</div>
		</div>
    </div>
</div>
<?php require $this->_ci_view_path.'foot.php';?>